package streamforce.crypto.event;

import java.io.Serializable;
import java.util.Arrays;

/**
 * containing information neccessary to initialize user
 */
public class UserInitEvent implements Serializable{
	private int streamId, userId, otherUserId;
	private byte[][] pubK, tK, decK, detK;
	private String selectCondition; 
	
	public UserInitEvent(int streamId, int userId, byte[][] pubK, byte[][] tK,
			byte[][] decK, byte[][] detK) {
		super();
		this.streamId = streamId;
		this.userId = userId;
		this.pubK = pubK;
		this.tK = tK;
		this.decK = decK;
		this.detK = detK;		
	}
		
	
	public String getSelectCondition() {
		return selectCondition;
	}


	public void setSelectCondition(String selectCondition) {
		this.selectCondition = selectCondition;
	}


	public int getOtherUserId() {
		return otherUserId;
	}

	public void setOtherUserId(int otherUserId) {
		this.otherUserId = otherUserId;
	}

	public int getStreamId() {
		return streamId;
	}
	public void setStreamId(int streamId) {
		this.streamId = streamId;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public byte[][] getPubK() {
		return pubK;
	}
	public void setPubK(byte[][] pubK) {
		this.pubK = pubK;
	}
	public byte[][] gettK() {
		return tK;
	}
	public void settK(byte[][] tK) {
		this.tK = tK;
	}
	public byte[][] getDecK() {
		return decK;
	}
	public void setDecK(byte[][] decK) {
		this.decK = decK;
	}
	public byte[][] getDetK() {
		return detK;
	}
	public void setDetK(byte[][] detK) {
		this.detK = detK;
	}
	
	
	
}
